package com.recruit.server.service;

import com.recruit.server.common.HeaderInfo;
import com.recruit.server.request.shipping.AddShippingRequest;
import com.recruit.server.request.shipping.ListShippingRequest;
import com.recruit.server.request.shipping.UpdateShippingRequest;
import com.recruit.server.response.shipping.AddShippingResponse;
import com.recruit.server.response.shipping.ListShippingResponse;
import com.recruit.server.response.shipping.UpdateShippingResponse;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;

public interface IShippingService {

    ListShippingResponse list(@Validated @RequestBody ListShippingRequest request, HeaderInfo headerInfo);

    AddShippingResponse add(@Validated @RequestBody AddShippingRequest request, HeaderInfo headerInfo);

    UpdateShippingResponse update(@Validated @RequestBody UpdateShippingRequest request, HeaderInfo headerInfo);
}
